<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>  
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/bootstrap.min.css" rel="stylesheet">
<title>个人信息</title>
</head>
<body>
<ol class="breadcrumb">
  <li><a href="#">安全管理</a></li>
  <li class="active">个人信息</li>
</ol>
<div class="myinfo" style="padding-left:400px;">
	<form action="uploadImages.do" enctype="multipart/form-data" method="post">
		 <div id="imgdiv">
	        <img id="img" src="showImages.do? TIME=<%=new java.util.Date().getTime() %>" width="100px" height="100px" style="border-radius:50px;border:1px solid red"/>
	        <input type="file" name="upfile"><button id="bt1">修改图片</button>
	    </div>
	</form>
  	<div class="form-group" >
    	<label for="e_name">员工姓名</label>
    	<input type="text" class="form-control"  value="${Emp.e_name}" readonly="readonly" placeholder="员工编号" style="width:300px">
  	</div>
  	<div class="form-group" >
    	<label for="e_id">员工编号</label>
    	<input type="text" class="form-control"  value="${Emp.e_id}" readonly="readonly" placeholder="员工编号" style="width:300px">
  	</div>
   	<div class="form-group" >
	    <label for="d_name">所属部门</label>
	    <input type="text" class="form-control"  value="${Emp.d_name}" readonly="readonly" placeholder="部门名称" style="width:300px">
  	</div>
     <div class="form-group"  >
	    <label for="p_name">职位</label>
	    <input type="text" class="form-control"  value="${Emp.p_name}" readonly="readonly" placeholder="员工生日" style="width:300px">
  	</div>
    <div class="form-group"  >
	    <label for="e_state">员工状态</label>
	    <input type="text" class="form-control"  value="${Emp.e_state}" readonly="readonly" placeholder="员工状态" style="width:300px">
  	</div>  
  	<a href="home.jsp">返回</a>
</div>	
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-3.3.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript">
	document.getElementById("bt1").onclick=function(){
		return confirm("你真的要修改该图片吗？想好了哦！");
	}
</script>
</body>
</html>